<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
	<head>
		<meta charset="utf-8">
		<title>多文件上传</title>
		<script type='text/javascript' src="../static/js/jquery-3.3.1.min.js"></script>
		<script type='text/javascript' src="../static/js/uploadFile.js"></script>
		<link type="text/css" href="../static/css/font-awesome.min.css" rel="stylesheet">
		<link type="text/css" href="../static/css/index.css" rel="stylesheet">
	</head>
	<body>


		<div class="main">
			<div class="left">
				<span class="userName"><%=session.getAttribute("user")%></span>
				<form method="post" enctype='multipart/form-data'>
					<input type="file" name="file" multiple id="files">
					<br/>
					<input type="button" value="上传" id="submit">
				</form>
				<div class="selectFiles"></div>
			</div>
			<div class="right">
				<span class="rightTitle">上传至指定目录的文件</span>
				<div class="uploadFiles">
					<div class="fileDetail">
						<span class="fileName">1.jpg</span>
						<a class="download" href="/download?filename=1.jpg">下载</a>
					</div>
				</div>
			</div>
		</div>

	</body>
</html>
